package com.mysteel.seckill.service;

import com.mysteel.seckill.to.SecKillSkuRedisTo;

import java.util.List;

/**
 * ProjectName: mail
 * ClassName: SecondKillService
 * Description:
 * date: 2021/04/07/007 16:43
 *
 * @author xiaochao
 */
public interface SecondKillService {
    void shelvesLatestSecKillProduct();

    List<SecKillSkuRedisTo> getCurrentSecKillSku();

    SecKillSkuRedisTo getSkuSecKillInfo(Long skuId);

    String rushToBuy(String killId, String key, Integer num);
}
